<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1>[[${id}]]</h1>
</body>
<script type="text/javascript" src="/js/jquery-3.1.1.min.js"></script>
<script type="text/javascript" th:inline="javaScript">
    $(function(){
        //window.parent.$.modal.msgWarning([[${id}]])
        alert([[${id}]])
        let str = [[${id}]];
        let id = str.split(",")[0];
        window.parent.$.modal.closeTab("/system/orderhead/print/"+id);
    })
</script>
</html>